home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Source Code / By the Book / Mac C Primer V2 / 6.1 - MyStarter / CStarterDoc.h < prev    next >
Text File  |  1990-04-11  |  848b  |  33 lines

  1. /****
  2.  * CStarterDoc.h
  3.  *
  4.  *    Document class for a typical application.
  5.  *
  6.  ****/
  7.  
  8. #define    _H_CStarterDoc            /* Include this file only once */
  9. #include <CDocument.h>
  10. #include <CApplication.h>   /* Altered by TCL Demo Weaver 1.0 (2/21/90) */
  11.  
  12. struct CStarterDoc : CDocument {
  13.  
  14.                                     /** Construction/Destruction **/
  15.                                     
  16.     /* Altered by TCL Demo Weaver 1.0 (2/21/90) */
  17.     
  18.     void        IStarterDoc(CApplication *aSupervisor, Boolean printable);
  19.     void        Dispose(void);
  20.  
  21.     void        DoCommand(long theCommand);
  22.  
  23.     void        UpdateMenus(void);  /* Altered by TCL Demo Weaver 1.0 (2/21/90) */
  24.  
  25.     void        NewFile(void);
  26.     void        OpenFile(SFReply *macSFReply);
  27.     void        BuildWindow(Handle theData);
  28.     
  29.                                     /** Filing **/
  30.     Boolean        DoSave(void);
  31.     Boolean        DoSaveAs(SFReply *macSFReply);
  32.     void        DoRevert(void);
  33. };